from django.http import JsonResponse
from django.views.generic import View
from ..utils.options import get_options

class Define(View):
    def post(self, req):
        res = {
            'options': get_options()
        }
        return JsonResponse(res)
